﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Collections;

namespace XCommunity.Documents.UBB
{
  public class UbbDocument : IUbbContainer
  {


    private ArrayList _childrens = new ArrayList();



    #region IUbbBlock 成员

    void IUbbContainer.AppendChild( object child )
    {
      _childrens.Add( child );
    }

    IEnumerable IUbbContainer.Childrens
    {
      get { return Elements; }
    }

    #endregion

    public IEnumerable Elements
    {
      get { return _childrens; }
    }
  }
}
